#include"Queue.h"
void test()
{
	Queue st;
	QueueInit(&st);
	QueuePush(&st, 1);
	QueuePush(&st, 2);
	QueuePush(&st, 3);
	QueuePush(&st, 4);
	QueuePush(&st, 5);
	while (QueueEmpty(&st)!=1)
	{
		printf("%d ", QueueFront(&st));
		printf("%d ", st.head->data);
		QueuePop(&st);
	}
	printf("\n");
	QueueDestroy(&st);
}
int main()
{
	test();
	return 0;
}